package com.ucar.umock.client.exector.support;

import com.ucar.umock.client.dto.UMockMethodRuntimeInfoDTO;
import com.ucar.umock.client.config.UMockMethodConfigBean;
import com.ucar.umock.client.enums.EnumMockExectorType;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @ClassName UMockValueFromStoreHandle
 * @Description TODO
 * @Author zhanbs baoshan.zhan@ucarinc.com
 * @Date 2020/4/3 16:14
 * @Version 1.0
 **/
@Slf4j
@Component
public class UMockValueFromStoreExector extends UMockValueBaseExector {
    public Object exec(UMockMethodConfigBean config, UMockMethodRuntimeInfoDTO methodRuntimeDTO) {
        log.error("暂不支持从UMock Store 加载数据");
        return null;
    }

    public EnumMockExectorType getType() {
        return EnumMockExectorType.UMOCK_STORE;
    }
}
